﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Brain.Editor;

namespace Brain.FPS
{
    public class CharacterDatabase : Database
    {
        public static CharacterDatabase Instance;

        public CharacterDatabase()
        {
            Instance = this;
        }

        public CharacterInfo GetCharacterInfo(int index)
        {
            return (CharacterInfo)this.Variables[index];
        }
        public static CharacterInfo GetStaticCharacterInfo(int index)
        {
            return (CharacterInfo)Instance.Variables[index];
        }
    }
}
